//
//  TDChatTableViewCell.m
//  liveDemo
//
//  Created by tuandai on 2017/4/17.
//  Copyright © 2017年 tuandai. All rights reserved.
//

#import "TDChatTableViewCell.h"
#import "TCMsgHandler.h"

@interface TDChatTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *chatName;
@property (weak, nonatomic) IBOutlet UILabel *chatContent;

@end

@implementation TDChatTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
}

-(void)setChatModel:(IMUserAble *)chatModel {
    _chatModel = chatModel;
    self.chatName.text = _chatModel.nickName;
    self.chatContent.text = _chatModel.msg;
}



@end
